//
//  BaseModel.h
//  jiedian
//
//  Created by 美街美店 on 16/5/5.
//  Copyright © 2016年 com.jiedian.www. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "MJExtension.h"
#import "PageModle.h"

@interface BaseModel : NSObject

 
//一些基本属性
@property(nonatomic,copy)NSString *name;
@property(nonatomic,copy)NSString *id;
@property(nonatomic,copy)NSString *num;
@property(nonatomic,copy)NSString *pid;
@property (nonatomic,assign)int tag;
@property(nonatomic,copy)NSString *version;

#pragma mark——————————后台返回字段 
@property (nonatomic,strong)NSString *code; //结果：200是成功
@property (nonatomic,strong)NSString *message; //失败说明
@property (nonatomic,strong)id result; //返回的数据
@property (nonatomic,strong)NSString *desc;
@property (nonatomic,assign)NSString *state;//返回状态
@property (nonatomic,assign)id data;//返回状态

#pragma mark -- 分页
@property (nonatomic,strong) PageModle *pageModle;//分页
@property (nonatomic,assign)CGFloat cellH;//cell高度

@property (nonatomic,assign)BOOL isSleted;//是否选中


#pragma mark——————————————banner数据
@property (nonatomic,strong)NSString *bannerPicId;// "2",
@property (nonatomic,strong)NSString *url;// "vbcvbcv",
@property (nonatomic,strong)NSString *bannerType;// 2,
@property (nonatomic,strong)NSString *simpleDesc;// "积分商城banner"
@property (nonatomic,strong)NSString *remark;//富文本

#pragma mark——————————————字典
@property (nonatomic,strong)NSString *balance;//80,
@property (nonatomic,strong)NSString *balanceType;// 2


#pragma mark——————————上传文件
@property (nonatomic,strong)NSString *fileSize ;// 49;
@property (nonatomic,strong)NSString *fileName  ;// 201805221009290.png;
@property (nonatomic,strong)NSString *fileType  ;// png;
//@property (nonatomic,strong)NSString *url  ;// 192.168.3.124/upload/20180522020930085.png;
@property (nonatomic,strong)NSString *filePath  ;// /upload/20180522020930085.png;




//省市区 和对应的数组
@property (nonatomic,copy)NSString *provincesStr;

@property (nonatomic,copy)NSString *citiesStr;
@property (nonatomic,strong)NSMutableArray *citiesArr;

@property (nonatomic,copy)NSString *areaesStr;
@property (nonatomic,strong)NSMutableArray *areaesArr;



////socket评论收到的消息
//@property (nonatomic,copy)NSString *msg;
//@property (nonatomic,copy)NSString *nickName;
//@property (nonatomic,copy)NSString *userId;
//@property (nonatomic,copy)NSString *userName;
////{"msg":"测试","nickName":"sad","userId":"1","userName":"admin"}
//
//
//@property (nonatomic,assign)float expressPrice; //下单后的价格
//@property (nonatomic,copy)NSString *orderId;    //订单ID
//
////@property (nonatomic,copy)NSString *id;// "1",
//@property (nonatomic,copy)NSString *columnName;// "新品",
//@property (nonatomic,copy)NSString *columnDesc;//  "sfs",
//@property (nonatomic,copy)NSString *isUsing;//  1,
//@property (nonatomic,copy)NSString *columnType;//  1
//
//

//
//@property (nonatomic,copy)NSString *urlPath;
//
//
//@property (nonatomic,copy)NSString *realUrlPath;
//
//@property (nonatomic,copy)NSString *token;


//微信支付
@property (nonatomic,copy)NSString *appid ;//wx0172db3bd8bda7a6;
@property (nonatomic,copy)NSString *noncestr ;// 1617333031;
@property (nonatomic,copy)NSString *package ;// "Sign=WXPay";
@property (nonatomic,copy)NSString *partnerid ;// 1501201001;
@property (nonatomic,copy)NSString *prepayid ;// wx281617337514700e996f5a2e0380534566;
@property (nonatomic,copy)NSString *sign ;// FD100720D3FB7C9EB01CBD53EF4870FF;
@property (nonatomic,copy)NSString *timestamp ;// 161733;




////签到
//@property (nonatomic,assign)BOOL isParam;// false,
////@property (nonatomic,copy)NSString *id;//  "1",
//@property (nonatomic,copy)NSString *week;//  1,
//@property (nonatomic,copy)NSString *number;//  100,
//@property (nonatomic,copy)NSString *signType;//  1
//
////是否签到
//@property (nonatomic,assign)int openDailyCheckIn;//0;
//@property (nonatomic,assign)int userSign ; //
//
//@property (nonatomic,copy)NSString *content;


@end
